package com.ceba.test.modules.filemanage.dto;

import java.util.ArrayList;
import java.util.List;

/**
 * 前台点击签名时，传递的参数
 * @author Administrator
 *
 */
public class WebSignParam {

	//前台点击签名时传递文件信息
	//[{'id':'"+fileID+"';'type':'dir'}]
	private String fileJson;
	//签名文件Id
	private String fileId;
	//文件原名
	private String fileName;
	
	//是否保存原文件
	private boolean bKeepFile;
	
	//水印Id
	private String waterMarkId;
	
	//合并首位页Id
	private String gFileMergeId;
	
	//骑缝章Id
	private String qfStampId;
	
	//骑缝章规则Id -- 目前没放开，和骑缝章Id绑定
	private String qfRuleId;

	//二维码文件Id
	private String qrCodeFileId;

	//其他印章Id
	private List<String> otherStampIds = new ArrayList<String>();
	
	//签/章Id
	private List<String> signStampIds = new ArrayList<String>();

	//用户Id
	private String userId;
	
	//当前操作人名称
	private String userName;

	/**
	 * 骑缝章的起止页
	 * null：默认值。为文档首页和末页
	 * 数字：指定数字的起止页
	 * 非数字：根据关键字找到骑缝章起止页
	 */
	private String startPageOfQifeng;
	private String endPageOfQifeng;

	//允许PDF内容复制 0-允许 1-不允许 ALLOW_PDF_CONTENT_COPY
	private int allowCopy = 1;
	//可加二维码 0- 添加  1- 不添加
	private int allowAddQr = 1;

    //控制签名时关键字没匹配上是否报错 true-不报错 false-报错
    private boolean noErrorNotNoramlMatchKey = true;

	public String getStartPageOfQifeng() {
		return startPageOfQifeng;
	}

	public void setStartPageOfQifeng(String startPageOfQifeng) {
		this.startPageOfQifeng = startPageOfQifeng;
	}

	public String getEndPageOfQifeng() {
		return endPageOfQifeng;
	}

	public void setEndPageOfQifeng(String endPageOfQifeng) {
		this.endPageOfQifeng = endPageOfQifeng;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getFileJson() {
		return fileJson;
	}

	public void setFileJson(String fileJson) {
		this.fileJson = fileJson;
	}

	public String getFileId() {
		return fileId;
	}

	public void setFileId(String fileId) {
		this.fileId = fileId;
	}

	public boolean isbKeepFile() {
		return bKeepFile;
	}

	public void setbKeepFile(boolean bKeepFile) {
		this.bKeepFile = bKeepFile;
	}

	public String getWaterMarkId() {
		return waterMarkId;
	}

	public void setWaterMarkId(String waterMarkId) {
		this.waterMarkId = waterMarkId;
	}

	public String getGFileMergeId() {
		return gFileMergeId;
	}

	public void setGFileMergeId(String gFileMergeId) {
		this.gFileMergeId = gFileMergeId;
	}

	public String getQfStampId() {
		return qfStampId;
	}

	public void setQfStampId(String qfStampId) {
		this.qfStampId = qfStampId;
	}

	public String getQfRuleId() {
		return qfRuleId;
	}

	public void setQfRuleId(String qfRuleId) {
		this.qfRuleId = qfRuleId;
	}

	

	public List<String> getOtherStampIds() {
		return otherStampIds;
	}

	public void setOtherStampIds(List<String> otherStampIds) {
		this.otherStampIds = otherStampIds;
	}

	public List<String> getSignStampIds() {
		return signStampIds;
	}

	public void setSignStampIds(List<String> signStampIds) {
		this.signStampIds = signStampIds;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getgFileMergeId() {
		return gFileMergeId;
	}

	public void setgFileMergeId(String gFileMergeId) {
		this.gFileMergeId = gFileMergeId;
	}

	public String getQrCodeFileId() {
		return qrCodeFileId;
	}

	public void setQrCodeFileId(String qrCodeFileId) {
		this.qrCodeFileId = qrCodeFileId;
	}


	public int getAllowCopy() {
		return allowCopy;
	}

	public void setAllowCopy(int allowCopy) {
		this.allowCopy = allowCopy;
	}

	public int getAllowAddQr() {
		return allowAddQr;
	}

	public void setAllowAddQr(int allowAddQr) {
		this.allowAddQr = allowAddQr;
	}

    public boolean isNoErrorNotNoramlMatchKey() {
        return noErrorNotNoramlMatchKey;
    }

    public void setNoErrorNotNoramlMatchKey(boolean noErrorNotNoramlMatchKey) {
        this.noErrorNotNoramlMatchKey = noErrorNotNoramlMatchKey;
    }

}
